-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize the api proto descriptors in swarmkit #2349
Conversation
Signed-off-by: He Xiaoxi <[email protected]>
Signed-off-by: He Xiaoxi <[email protected]>
@stevvooe PTAL, thanks! |
775003a
to
086831b
Compare
Codecov Report
@@ Coverage Diff @@
## master #2349 +/- ##
=========================================
- Coverage 60.1% 60.01% -0.1%
=========================================
Files 128 128
Lines 26177 26177
=========================================
- Hits 15734 15709 -25
- Misses 9045 9070 +25
Partials 1398 1398 |
Protobuild.toml
Outdated
|
||
[[descriptors]] | ||
prefix = "github.com/docker/swarmkit/protobuf/plugin" | ||
target = "protobuf/plugin/plugin.pb.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to stabilize the plugin API, they are only used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok,I will remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stevvooe updated, please review again
086831b
to
1540992
Compare
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tossmilestone @stevvooe do we need to include the api/api.pb.txt
file in the repo?
@nishanttotla That is the entire point of the PR. ;) The idea is that symbol changes in Please see the README in containerd. That explains it more thoroughly. Perhaps, this PR should include a similar readme. |
@stevvooe I will add a similar README in containerd later to clarify how to use it. |
Signed-off-by: He Xiaoxi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @tossmilestone for adding the README.
Use the API stability tool of protobuild to stabilize the proto descriptors in swarmkit. It will generate:
api/api.pb.txt
forapi
packageSigned-off-by: He Xiaoxi [email protected]